<?php
$_db_host = "127.0.0.1";
$_db_id = 	"dbid";
$_db_pw = 	"dbpw";
$_db_name = "dbname";
 
$db = mysql_connect($_db_host, $_db_id, $_db_pw );
if (!$db) {
	die('Could not connect: ' . mysql_error());
}
mysql_select_db($_db_name, $db);
mysql_query("set names utf8");
?>